/**
 * 统计函数
 * @author GaoYoubo
 * @since 2012-11-16
 */
if (typeof (mlog) === "undefined") {
    var mlog = function() {
    };
}

mlog.stat = {};

$.extend(mlog.stat, {
    postClick: function(post_id) {
        if (!post_id) {
            return;
        }
        $.get(mlog.variable.base + "/stat?cmd=post_click&post_id=" + post_id);
    },
    blogClick: function() {
        $.get(mlog.variable.base + "/stat?cmd=blog_click");
    }
});